From 05fdb6c79561f99201e4848b17ddcb9bc808fe4f Mon Sep 17 00:00:00 2001 From: Gabriel Souza Franco Date: Fri, 30 Jan 2015 17:24:53 -0200 Subject: [PATCH] Fix failing test --- tests/test_cargo_build_auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cargo_build_auth.rs b/tests/test_cargo_build_auth.rs index 646db4fd8..d91101c23 100644 --- a/tests/test_cargo_build_auth.rs +++ b/tests/test_cargo_build_auth.rs @@ -49,7 +49,7 @@ test!(http_auth_offered { assert_eq!(req, vec![ "GET /foo/bar/info/refs?service=git-upload-pack HTTP/1.1", "Accept: */*", - "User-Agent: git/1.0 (libgit2 0.21.0)", + "User-Agent: git/1.0 (libgit2 0.22.0)", ].into_iter().map(|s| s.to_string()).collect()); drop(s); @@ -64,7 +64,7 @@ test!(http_auth_offered { "GET /foo/bar/info/refs?service=git-upload-pack HTTP/1.1", "Authorization: Basic Zm9vOmJhcg==", "Accept: */*", - "User-Agent: git/1.0 (libgit2 0.21.0)", + "User-Agent: git/1.0 (libgit2 0.22.0)", ].into_iter().map(|s| s.to_string()).collect()); }); -- 2.30.2